package design.template.extend;

/**
 * <p>
 * HookConcreteClass
 * </P>
 *
 * @author dingwen
 * @date 2021.10.18 10:32
 */
public class HookConcreteClass extends AbstractHookClass{
    @Override
    public void abstractMethod1() {
        System.out.println("子类实现抽象方法01");
    }

    @Override
    public void abstractMethod2() {
        System.out.println("子类实现抽象方法02");
    }

    @Override
    public boolean hookMethod2() {
        return false;
    }

    @Override
    public void hookMethod1() {
        System.out.println("子类改变钩子函数结果~");
    }
}
